package com.waffles.mbta.tracker;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;


public class TestTextActivity extends Activity {
	  public void onCreate(Bundle savedInstanceState) {
		  super.onCreate(savedInstanceState);
	        setContentView(R.layout.test_text);
	        TextView tv = (TextView)findViewById(R.id.textview);
	        Bundle extras = getIntent().getExtras();
	        if(extras != null) {
	        	tv.setText("Clicked route: " + extras.getString("text"));
	        } else {
	        	tv.setText("Extras were empty!");
	        }
	    }
}
